﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pong.Classes
{
    public class PowerClass
    {

        public int PlayerNumber { get; set; }
        public float SpeedBat { get; set; }
        public PowerClass(int number, float speed)
        {
            this.PlayerNumber = number;
            this.SpeedBat = speed;
        }

        public override string ToString()
        {
            if(PlayerNumber == 1 ) {
                return MyConstants.NAME_LEFT_SHINOBI_BAT;
            }
            else
            {
                return MyConstants.NAME_RIGHT_SHINOBI_BAT;
            }
        }
    }
}
